﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010A5 RID: 4261
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SaveLogisticsScRsp : IMessage<SaveLogisticsScRsp>, IMessage, IEquatable<SaveLogisticsScRsp>, IDeepCloneable<SaveLogisticsScRsp>, IBufferMessage
	{
		// Token: 0x170035C1 RID: 13761
		// (get) Token: 0x0600BE4B RID: 48715 RVA: 0x0020119D File Offset: 0x001FF39D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SaveLogisticsScRsp> Parser
		{
			get
			{
				return SaveLogisticsScRsp._parser;
			}
		}

		// Token: 0x170035C2 RID: 13762
		// (get) Token: 0x0600BE4C RID: 48716 RVA: 0x002011A4 File Offset: 0x001FF3A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SaveLogisticsScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170035C3 RID: 13763
		// (get) Token: 0x0600BE4D RID: 48717 RVA: 0x002011B6 File Offset: 0x001FF3B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SaveLogisticsScRsp.Descriptor;
			}
		}

		// Token: 0x0600BE4E RID: 48718 RVA: 0x002011BD File Offset: 0x001FF3BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SaveLogisticsScRsp()
		{
		}

		// Token: 0x0600BE4F RID: 48719 RVA: 0x002011D0 File Offset: 0x001FF3D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SaveLogisticsScRsp(SaveLogisticsScRsp other) : this()
		{
			this.cIJHMEDOHDE_ = other.cIJHMEDOHDE_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BE50 RID: 48720 RVA: 0x00201206 File Offset: 0x001FF406
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SaveLogisticsScRsp Clone()
		{
			return new SaveLogisticsScRsp(this);
		}

		// Token: 0x170035C4 RID: 13764
		// (get) Token: 0x0600BE51 RID: 48721 RVA: 0x0020120E File Offset: 0x001FF40E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<JBJMNMFPLPH> CIJHMEDOHDE
		{
			get
			{
				return this.cIJHMEDOHDE_;
			}
		}

		// Token: 0x170035C5 RID: 13765
		// (get) Token: 0x0600BE52 RID: 48722 RVA: 0x00201216 File Offset: 0x001FF416
		// (set) Token: 0x0600BE53 RID: 48723 RVA: 0x0020121E File Offset: 0x001FF41E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600BE54 RID: 48724 RVA: 0x00201227 File Offset: 0x001FF427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SaveLogisticsScRsp);
		}

		// Token: 0x0600BE55 RID: 48725 RVA: 0x00201238 File Offset: 0x001FF438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SaveLogisticsScRsp other)
		{
			return other != null && (other == this || (this.cIJHMEDOHDE_.Equals(other.cIJHMEDOHDE_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BE56 RID: 48726 RVA: 0x00201288 File Offset: 0x001FF488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.cIJHMEDOHDE_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BE57 RID: 48727 RVA: 0x002012D5 File Offset: 0x001FF4D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BE58 RID: 48728 RVA: 0x002012DD File Offset: 0x001FF4DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BE59 RID: 48729 RVA: 0x002012E8 File Offset: 0x001FF4E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			this.cIJHMEDOHDE_.WriteTo(ref output, SaveLogisticsScRsp._repeated_cIJHMEDOHDE_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BE5A RID: 48730 RVA: 0x00201338 File Offset: 0x001FF538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.cIJHMEDOHDE_.CalculateSize(SaveLogisticsScRsp._repeated_cIJHMEDOHDE_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BE5B RID: 48731 RVA: 0x0020138C File Offset: 0x001FF58C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SaveLogisticsScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.cIJHMEDOHDE_.Add(other.cIJHMEDOHDE_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BE5C RID: 48732 RVA: 0x002013D9 File Offset: 0x001FF5D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BE5D RID: 48733 RVA: 0x002013E4 File Offset: 0x001FF5E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.cIJHMEDOHDE_.AddEntriesFrom(ref input, SaveLogisticsScRsp._repeated_cIJHMEDOHDE_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004C8E RID: 19598
		private static readonly MessageParser<SaveLogisticsScRsp> _parser = new MessageParser<SaveLogisticsScRsp>(() => new SaveLogisticsScRsp());

		// Token: 0x04004C8F RID: 19599
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C90 RID: 19600
		public const int CIJHMEDOHDEFieldNumber = 11;

		// Token: 0x04004C91 RID: 19601
		private static readonly FieldCodec<JBJMNMFPLPH> _repeated_cIJHMEDOHDE_codec = FieldCodec.ForMessage<JBJMNMFPLPH>(90U, JBJMNMFPLPH.Parser);

		// Token: 0x04004C92 RID: 19602
		private readonly RepeatedField<JBJMNMFPLPH> cIJHMEDOHDE_ = new RepeatedField<JBJMNMFPLPH>();

		// Token: 0x04004C93 RID: 19603
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04004C94 RID: 19604
		private uint retcode_;
	}
}
